package com.javasm.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author WangJie
 * @version 1.0
 * @Description: 分页组件
 * @date: 2020/7/19 10:08
 * @since JDK 1.8
 */
public class PageInfo implements Serializable {

    private Integer page;
    private Integer pageSize;
    private Integer totalCount;
    private List<AdminUser> adminUserList = new ArrayList<>();
    private List<Game> gameList = new ArrayList<>();
    private List<Book> bookList = new ArrayList<>();

    private List<BookSecondSort> bookSecondSortList = new ArrayList<>(); // 图书分类信息的回显

    public List<BookSecondSort> getBookSecondSortList() {
        return bookSecondSortList;
    }

    public void setBookSecondSortList(List<BookSecondSort> bookSecondSortList) {
        this.bookSecondSortList = bookSecondSortList;
    }

    public List<Book> getBookList() {
        return bookList;
    }

    public void setBookList(List<Book> bookList) {
        this.bookList = bookList;
    }

    public List<Game> getGameList() {
        return gameList;
    }

    public void setGameList(List<Game> gameList) {
        this.gameList = gameList;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public List<AdminUser> getAdminUserList() {
        return adminUserList;
    }

    public void setAdminUserList(List<AdminUser> adminUserList) {
        this.adminUserList = adminUserList;
    }
}
